import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import simulated from '@/depend/request/simulated-data.js'
import store from './store'
// 引入全局参数
import '@/depend/js/index.js'
import '@/depend/js/function.js'
import '@/depend/js/filter.js'
// 引入全局uView
import uView from 'components/uview-ui';
Vue.use(uView);
Vue.config.productionTip = false
Vue.prototype.$store = store
// 模拟
Vue.prototype.simulated = simulated
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif